package com.caissa.springboot.starter.leaf.config;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 环境变量映射
 *
 * @author zhangqiang
 * @date 2020/5/19 AM10:15
 */
@ConfigurationProperties("leaf.url")
public class LeafProperties {

    /**
     * 访问路径前缀
     */
    private String prefix;

    public String getPrefix() {
        return prefix;

    }

    public void setPrefix(final String prefix) {
        this.prefix = prefix;
    }

    @Override
    public String toString() {
        return "LeafProperties{" +
                "prefix='" + prefix + '\'' +
                '}';
    }
}
